home *** CD-ROM | disk | FTP | other *** search
- Path: il.ft.hse.nl!not-for-mail
- From: robert@il.ft.hse.nl (robert)
- Newsgroups: comp.lang.c
- Subject: Re: Example of an unintelligible program in C
- Date: 18 Mar 1996 09:58:22 +0100
- Organization: LSD...melts in your mind, not in your hand
- Message-ID: <4ij8je$lb9@charm.il.ft.hse.nl>
- References: <4iegj7$evn@bee.uspnet.usp.br> <4if0i4$qsm@garden.csc.calpoly.edu>
- NNTP-Posting-Host: charm.il.ft.hse.nl
-
- dstubbs@garden.csc.calpoly.edu (Dan Stubbs):
- >Here is one of my favorites. Guess what it does! Apply a formatter
- >such as cb or indent to it if you really want to make it obscure.
-
- Here's another one:
- main(w){float x=25,q=80,a=-2,c=-1.2,e=(1-a)/q,f=(-c-c)/x,y,g,h=c,r,i,u=x,v;for(;
- u--;h+=f)for(v=q,g=a;v--;g+=e,putchar(w[".,:;=+itIYVXRBM "]))for(w=r=i=0;x=r,y=i
- ,r=x*x-y*y+g,i=2*x*y+h,w<15&&r*r+i*i<4;w++);}
-
- robert
-